exports.check = function (objs) {
    var miss = [];
    for(var i = 0; i<objs.length;i+=2){
        var obj = objs[i];
        var name = objs[i+1];
        if (!obj){
            miss.push(name);
        }else if( (typeof obj == 'string') && (obj.length <= 0)){
            miss.push(name);
        }
    }
    return miss;
};

exports.parse = function (objs){
	if(objs && objs.length > 0){
		var json = JSON.parse(objs);
		if(json){
			return json;
		}
	}
	return null;
}
